#include "AddressPair.h"

AddressPair::AddressPair()
{
	startAddress = 0;
	segmentSize = 0;
	nextSegment = NULL;
}

AddressPair::AddressPair(unsigned long int start, 
		unsigned long int size)
{
	startAddress = start;
	segmentSize = size;
	nextSegment = NULL;
}

void AddressPair::setNext(AddressPair* a)
{
	nextSegment = a;
}

AddressPair* AddressPair::getNext()
{
	return nextSegment;
}

unsigned long int AddressPair::getStart()
{
	return startAddress;
}

unsigned long int AddressPair::getSize()
{
	return segmentSize;
}


